<?php

    define("LACTONE_DEBUG",true);
    define("APP_PATH",__DIR__);

    require __DIR__."/../vendor/autoload.php";

    $Config = require __DIR__."/Config/Config.php";

    //服务端分为数据监听和任务发布2个系统
    if(LACTONE_DEBUG){
        class swoole_lock{
            function lock(){}
            function unlock(){}
        }
        function swoole_timer_after($time,$args){

            return call_user_func($args);
        }
        function swoole_timer_tick(){}
    }

    Lactone::setConfigs($Config);

    Lactone::run();
